package cn.yunhe.entity.merchantsentity;

import lombok.Data;

import java.io.Serializable;

/**
 * 李非凡
 * 商家基本信息实体类
 */
@Data
public class MerchantsData implements Serializable {
    //商家账号外键
    private MerchantsAccount merAccount;
    //商家名称
    private String name;
    //商家简介
    private String context;
    //商家地址
    private String address;
    //商家图片
    private String pic;
    //商家联系方式
    private int tel;
    //好评度
    private int good;

    public MerchantsData() {
    }

    public MerchantsData(MerchantsAccount merAccount, String name, String context, String address, String pic, int tel) {
        this.merAccount = merAccount;
        this.name = name;
        this.context = context;
        this.address = address;
        this.pic = pic;
        this.tel = tel;
    }

    public MerchantsData(MerchantsAccount merAccount, String name, String context, String address, String pic, int tel, int good) {
        this.merAccount = merAccount;
        this.name = name;
        this.context = context;
        this.address = address;
        this.pic = pic;
        this.tel = tel;
        this.good = good;
    }
}
